

</head>
<body>
<div id="div_print">
    <h1 style="Color:Red">这是要被打印的内容</h1>
</div>
<div style="Color:Red">欢迎您</div>
<input name="print" type="button" id="bt" value="点击打印" />

<head>
    <link href="./resource/css/bootstrap.min.css" rel="stylesheet">
</head>
<table class="table table-bordered">
    <tr>
        <td align="center">客户</td>
        <td align="center">货物明细</td>
    </tr>
    {loop $members $member}
    <tr>
        <td>{$member['name']}</td>
        <td>
            {loop $member['goods_data'] $goods}
            {$goods['goods_name']}{$goods['numbers']}*{$goods['freight']},&nbsp;
            {/loop}
            [总件数：{$member['total_numbers']}，应收：{$member['total_freight']}]
        </td>
    </tr>
    {/loop}
</table>